Optimal. Leaf size=24 \[ \frac{c \log (x)}{a}-\frac{c \log \left (a+b x^2\right )}{2 a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0130802, antiderivative size = 24, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.217, Rules used = {21, 266, 36, 29, 31} \[ \frac{c \log (x)}{a}-\frac{c \log \left (a+b x^2\right )}{2 a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 266
Rule 36
Rule 29
Rule 31
Rubi steps
\begin{align*} \int \frac{a c+b c x^2}{x \left (a+b x^2\right )^2} \, dx &=c \int \frac{1}{x \left (a+b x^2\right )} \, dx\\ &=\frac{1}{2} c \operatorname{Subst}\left (\int \frac{1}{x (a+b x)} \, dx,x,x^2\right )\\ &=\frac{c \operatorname{Subst}\left (\int \frac{1}{x} \, dx,x,x^2\right )}{2 a}-\frac{(b c) \operatorname{Subst}\left (\int \frac{1}{a+b x} \, dx,x,x^2\right )}{2 a}\\ &=\frac{c \log (x)}{a}-\frac{c \log \left (a+b x^2\right )}{2 a}\\ \end{align*}
Mathematica [A] time = 0.0050465, size = 24, normalized size = 1. \[ c \left (\frac{\log (x)}{a}-\frac{\log \left (a+b x^2\right )}{2 a}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 23, normalized size = 1. \begin{align*}{\frac{c\ln \left ( x \right ) }{a}}-{\frac{c\ln \left ( b{x}^{2}+a \right ) }{2\,a}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.999539, size = 34, normalized size = 1.42 \begin{align*} -\frac{c \log \left (b x^{2} + a\right )}{2 \, a} + \frac{c \log \left (x^{2}\right )}{2 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.22329, size = 54, normalized size = 2.25 \begin{align*} -\frac{c \log \left (b x^{2} + a\right ) - 2 \, c \log \left (x\right )}{2 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.190086, size = 17, normalized size = 0.71 \begin{align*} c \left (\frac{\log{\left (x \right )}}{a} - \frac{\log{\left (\frac{a}{b} + x^{2} \right )}}{2 a}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.15705, size = 35, normalized size = 1.46 \begin{align*} \frac{c \log \left (x^{2}\right )}{2 \, a} - \frac{c \log \left ({\left | b x^{2} + a \right |}\right )}{2 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]